# 添加http项目
project(HttpServer)

# 查找源文件
file(GLOB SOURCES "*.cc")

# 添加可执行文件
add_executable(http_server ${SOURCES})

# 包含路径
target_include_directories(http_server PRIVATE ${CMAKE_SOURCE_DIR}/source)

# 添加静态资源文件夹
configure_file(wwwroot/index.html wwwroot/index.html COPYONLY)
configure_file(wwwroot/1234.txt wwwroot/1234.txt COPYONLY)
